package com.abiao.demo.mapper;

import com.abiao.demo.domain.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @program: demo
 * @description: 用户mapper
 * @author: luobiao
 * @date: 2022-01-24 15:57
 **/
@Repository
public interface UserMapper extends BaseMapper<User> {
    User getUserByName(@Param("userName") String userName);

    List<User> selectUserList();

}
